package tanke;

import javax.swing.*;
import java.awt.*;

public class LztTankGame01 extends JFrame{
    MyPanel mp=null;

    public static void main(String[] args) {
        LztTankGame01 lztTankGame01 = new LztTankGame01();
    }
    public LztTankGame01(){

       mp=new MyPanel();
        this.add(mp);
        this.setSize(1000,750);
        this.addKeyListener(mp);
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        this.setVisible(true);

    }


}


